<template>
  <el-container id="app">
    <asideNav></asideNav> 
    <el-container>
      <el-header>
        <breadNav></breadNav>
      </el-header>
      <router-view></router-view>
    </el-container>
  </el-container>
</template>

<script>
import asideNav from "./components/asideNav";
import breadNav from "./components/breadNav";


export default {
  name: "app",
  components: {
    asideNav,
    breadNav
  },
  mounted() {
    this.$router.push("/"); // 页面刷新后回到首页
  }
};
</script>
